Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass cqe->flags with MsgRingData #248

Merged
merged 2 commits into from
Dec 23, 2023

Conversation

bits0rcerer
Copy link
Contributor

This PR allows to pass cqe->flags with MsgRingData.

based on: axboe/liburing.

src/opcode.rs Outdated Show resolved Hide resolved
src/opcode.rs Outdated
@@ -1447,15 +1447,14 @@ opcode! {
let MsgRingData { ring_fd, result, user_data, user_flags, opcode_flags } = self;

let mut sqe = sqe_zeroed();
sqe.opcode = Self::CODE;
sqe.__bindgen_anon_2.addr = sys::IORING_MSG_DATA.into();
sqe.opcode = Self::CODE; sqe.__bindgen_anon_2.addr = sys::IORING_MSG_DATA.into();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a line break missing here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. It seems like RustRover has some formatting problems in that file.
It removed all line breaks in my previous commit as well and I forgot to check this time.

@quininer quininer merged commit 7c0376d into tokio-rs:master Dec 23, 2023
12 checks passed
@quininer
Copy link
Member

Thank you!

@bits0rcerer bits0rcerer deleted the msg_ring_pass_flags branch January 4, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants